package com.db.domain.bank;

import com.db.exceptions.NotEnoughFundsException;

import java.io.Serializable;

public interface Account extends Serializable {
	void deposit(double amount);
	void withdraw(double amount) throws NotEnoughFundsException;
    double maximumWithdrawToAccount();
	double getBalance();
    long getDecimalBalanceValue();
}
